<template>
	<view v-if="isShowMask" @tap="closeMask"  class="mask"  @touchmove.stop.prevent="moveHandle"></view>
</template>

<script>
	export default {
		props: ["isShowMask"],
		data(){
			return{
				
			}
		},
		methods:{
			closeMask(){
				this.$emit('closeMask');
			},
			moveHandle(){},
		}
	}
</script>

<style scoped>
	.mask {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, .5);
		z-index: 1888;
	}
</style>
